using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._NetworkDiagramTools
{
    /// <summary>
    /// <para>Purge Temporary Diagrams</para>
    /// <para>Purges temporary network diagrams related to a given utility network or trace network.</para>
    /// <para>清除与给定公共设施网络或追踪网络相关的临时网络逻辑示意图。</para>
    /// </summary>    
    [DisplayName("Purge Temporary Diagrams")]
    public class PurgeTemporaryDiagrams : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public PurgeTemporaryDiagrams()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Network</para>
        /// <para>The utility network or trace network data element with the temporary diagrams to be purged.</para>
        /// <para>包含要清除的临时逻辑示意图的公共设施网络或追踪网络数据元素。</para>
        /// </param>
        public PurgeTemporaryDiagrams(object _in_utility_network)
        {
            this._in_utility_network = _in_utility_network;
        }
        public override string ToolboxName => "Network Diagram Tools";

        public override string ToolName => "Purge Temporary Diagrams";

        public override string CallName => "nd.PurgeTemporaryDiagrams";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _created_before, _out_utility_network];

        /// <summary>
        /// <para>Input Network</para>
        /// <para>The utility network or trace network data element with the temporary diagrams to be purged.</para>
        /// <para>包含要清除的临时逻辑示意图的公共设施网络或追踪网络数据元素。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Created Before</para>
        /// <para><xdoc>
        ///   <para>The cutoff date for temporary network diagrams to be purged. All temporary network diagrams created before this date will be purged.</para>
        ///   <para>By default, the date in this dialog box is the current date.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>要清除的临时网络逻辑示意图的截止日期。在此日期之前创建的所有临时网络逻辑示意图都将被清除。</para>
        ///   <para>默认情况下，此对话框中的日期是当前日期。</para>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Created Before")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _created_before { get; set; } = null;


        /// <summary>
        /// <para>Output Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Network")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_utility_network { get; set; }


        public PurgeTemporaryDiagrams SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}